<template>
  <div>
    <h1>Welcome</h1>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  computed: {
    ...mapState(['userInfo'])
  },
  created() {
    console.log(this.$route)
  }
}
</script>
